package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 系列团游客收款
 * </p>
 *
 * @author 谭响
 * @since 2021-01-18
 */
@Data
@ApiModel(value="系列团游客收款计算Req", description="系列团游客收款计算Req")
public class SeriesOrderCollectionCalculationReq implements Serializable {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "银行优惠Id不能为空")
    @ApiModelProperty(value = "银行优惠Id",required = true)
    private Long bankPreferenceId;

    @NotNull(message = "添加项不能为空")
    @ApiModelProperty(value = "添加项",required = true)
    private List<SeriesOrderCollectionCalculationItemReq> items;

}
